import 'dart:convert';

import '../generated/json/base/json_field.dart';
import '../generated/json/face_search_entity.g.dart';

@JsonSerializable()
class FaceSearchEntity {

	@JSONField(name: "group_id")
	String? groupId;
	@JSONField(name: "user_id")
	String? userId;
	@JSONField(name: "user_name")
	String? userName;
	String? similarity;
  
  FaceSearchEntity();

  factory FaceSearchEntity.fromJson(Map<String, dynamic> json) => $FaceSearchEntityFromJson(json);

  Map<String, dynamic> toJson() => $FaceSearchEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}